<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.fick.hibernate.model.*"%>
<%@page import="com.fick.hibernate.dao.*"%>
<%
IpAllowedStateDAO ipSDao = new IpAllowedStateDAO();
	List list = ipSDao.findAll();
	if(list!= null && list.size()!=0){
		IpAllowedState ipState = (IpAllowedState)list.get(0);
		ipState.setState("1");
		ipSDao.update(ipState);
	}
%>
<script type="text/javascript">
	alert("操作成功");
	location.href="txlAction.do?method=findTxl";
</script>